<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>

<?php if ($sf_user->getFlash("error")): ?>
    <div class="error"><?php echo $sf_user->getFlash("error"); ?></div>
<?php endif; ?>

<div id="login">
    <form action="<?php echo url_for('sesion/login') ?>" method="post" >
        <table>
            <thead>
                <tr>
                    <th colspan="2">
                        Login
                    </th>
                </tr>
            </thead>
            <tbody>
                <?php echo $form ?>
            </tbody>
            <tfoot>
                <tr>
                    <td colspan="2">
                        <input type="submit" value="Aceptar" />
                    </td>
                </tr>
            </tfoot>
        </table>
    </form>
</div>